<?xml version="1.0"?>
<config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:zf="http://framework.zend.com/xml/zend-config-xml/1.0/">
    <production>
        <phpSettings>
            <display_startup_errors value="0" />
            <display_errors value="0" />
            <post_max_size value="100M" />
            <upload_max_filesize value="99M" />
            <date>
                <timezone>UTC</timezone>
            </date>
            <session>
                <name>POILSESS</name>
            </session>
            <mbstring>
                <internal_encoding>UTF-8</internal_encoding>
            </mbstring>
        </phpSettings>
        <includePath><zf:const zf:name="APPLICATION_PATH"/>/../library</includePath>
        <autoloaderNamespaces>
          <Icygen>Icygen_</Icygen>
        </autoloaderNamespaces>
        <pluginPaths>
          <Icygen_Application_Resource>Icygen/Application/Resource</Icygen_Application_Resource>
        </pluginPaths>
        <bootstrap>
            <path><zf:const zf:name="APPLICATION_PATH"/>/Bootstrap.php</path>
            <class value="Icygen_Bootstrap" />
        </bootstrap>
        <resources>
            <frontController>
                <throwexceptions>0</throwexceptions>
                <baseurl>/</baseurl>
                <actionHelperPaths>
                    <Icygen_Controller_Action_Helper>Icygen/Controller/Action/Helper</Icygen_Controller_Action_Helper>
                </actionHelperPaths>
                <controllerdirectory>
                    <xi:include href="installed.xml#xpointer(/zend-config/modules/active/*)" parse="xml" />
                </controllerdirectory>
            </frontController>
            <router>
                <xi:include href="routes.xml#xpointer(/zend-config/*)" parse="xml" />
            </router>
            <cache>
                <frontEnd>Core</frontEnd>
                <backEnd>File</backEnd>
                <frontParams>
                    <lifetime>3600</lifetime>
                    <automatic_serialization>1</automatic_serialization>
                </frontParams>
                <backParams>
                    <cache_dir><zf:const zf:name="APPLICATION_PATH"/>/cache/</cache_dir>
                </backParams>
            </cache>
            <layout>
                <layoutPath><zf:const zf:name="APPLICATION_PATH"/>/modules/default/views/layouts</layoutPath>
                <contentKey>content</contentKey>
                <suffix>phtml</suffix>
                <doctype>XHTML1_TRANSITIONAL</doctype>
            </layout>
            <view>
              <suffix>phtml</suffix>
              <encoding>UTF-8</encoding>
              <strictVars>1</strictVars>
              <scriptPath><zf:const zf:name="APPLICATION_PATH"/>/modules/default/views/scripts</scriptPath>
              <helperPath>
                  <Icygen_View_Helper_>Icygen/View/Helper</Icygen_View_Helper_>
                  <ZendX_JQuery_View_Helper>ZendX/JQuery/View/Helper</ZendX_JQuery_View_Helper>
                  <Default_View_Helper><zf:const zf:name="APPLICATION_PATH"/>/modules/default/views/helpers</Default_View_Helper>
                  <Navigation_View_Helper><zf:const zf:name="APPLICATION_PATH"/>/modules/navigation/views/helpers</Navigation_View_Helper>
              </helperPath>
            </view>
            <db>
                <adapter>mysqli</adapter>
                <params>
                    <host>localhost</host>
                    <username>wtsmara</username>
                    <password>wtsmara123$</password>
                    <dbname>dev_wtsmara</dbname>
                    <profiler>
                        <enabled>1</enabled>
                        <class>Zend_Db_Profiler_Firebug</class>
                    </profiler>
                    <charset>utf8</charset>
                </params>
             </db>
            <eventLog>
                <!--<adapter>Icygen_Log_Writer_FileRotate</adapter>
                <enableLog>0</enableLog>
                <options>
                    <logPath><zf:const zf:name="APPLICATION_PATH"/>/log/events.log</logPath>
                    <maxLogSize>2K</maxLogSize>
                </options>-->
                <adapter>Icygen_Log_Writer_Db</adapter>
                <enableLog>1</enableLog>
                <options>
                    <table>Log</table>
                </options>
            </eventLog>
            <modules/>
            <session>
                <namespace>wtsmara</namespace>
                <admin>admwtsmara</admin>
            </session>
            <access>
              <aclConfig><zf:const zf:name="APPLICATION_PATH"/>/configs/acl.xml</aclConfig>
              <groupClass>Users_Model_UsersGroups</groupClass>
            </access>
            <language>
                <adapter>Icygen_Translate_Adapter_Db</adapter>
                <multiLanguageSite value="1" />
                <autodetectLanguage value="0" />
                <default>bg</default>
                <admin>bg</admin>
                <logMissingTranslations>0</logMissingTranslations>
                <modelClass>Languages_Model_Languages</modelClass>
            </language>
            <emailTransport>
                <type>smtp</type>
                <transport>smtp</transport>
                <server>mail.icygen.com</server>
                <username>test@icygen.com</username>
                <password>kapikrusha</password>
                <defaultMailOptions>
                    <contentType>text/html</contentType>
                    <lineLength value="300" />
                    <lineBreakChars>\n</lineBreakChars>
                    <scheme>Q</scheme>
                    <defaultFrom>developer@icygen.com</defaultFrom>
                    <defaultFromName>WTS Mara</defaultFromName>
                </defaultMailOptions>
            </emailTransport>
        </resources>
    </production>
    
    <staging zf:extends="production" >
        <phpSettings>
            <display_startup_errors value="0" />
            <display_errors value="0" />
            <memory_limit>128M</memory_limit>
        </phpSettings>
        <resources>
            <frontController>
                <throwexceptions>0</throwexceptions>
                <baseurl>/wtsmara/public/</baseurl>
            </frontController>
            <db>
                <adapter>mysqli</adapter>
                <params>
                    <host>zion.masq</host>
                    <username>dev53</username>
                    <password>pass</password>
                    <dbname>demo_wtsmara</dbname>
                    <profiler>
                        <enabled>1</enabled>
                        <class>Zend_Db_Profiler_Firebug</class>
                    </profiler>
                    <charset>utf8</charset>
                </params>
             </db>
             <cache>
                <frontParams>
                    <lifetime>600000</lifetime>
                    <automatic_serialization>1</automatic_serialization>
                </frontParams>
            </cache>
            <language>
                <logMissingTranslations>1</logMissingTranslations>
                <adapter>Icygen_Translate_Adapter_Db</adapter>
            </language>
        </resources>
    </staging>
    
    <development zf:extends="production">
        <phpSettings>
            <display_startup_errors value="0" />
            <display_errors value="1" />
            <memory_limit>128M</memory_limit>
        </phpSettings>
        <resources>
            <frontController>
                <baseurl>/</baseurl>
                <throwexceptions>0</throwexceptions>
            </frontController>
            <db>
                <adapter>mysqli</adapter>
            <!--  
                <params>
                    <host>zion.masq</host>
                    <username>dev53</username>
                    <password>pass</password>
                    <dbname>dev_wtsmara</dbname>
                    <profiler>
                        <enabled>1</enabled>
                        <class>Zend_Db_Profiler_Firebug</class>
                    </profiler>
                    <charset>utf8</charset>
                </params>
            -->
                <params>
                    <host>localhost</host>
                    <username>wtsmara</username>
                    <password>wtsmara</password>
                    <dbname>dev_wtsmara</dbname>
                    <profiler>
                        <enabled>1</enabled>
                        <class>Zend_Db_Profiler_Firebug</class>
                    </profiler>
                    <charset>utf8</charset>
                </params>
            </db>
            <cache>
                <frontParams>
                    <lifetime>600000</lifetime>
                    <automatic_serialization>1</automatic_serialization>
                </frontParams>
            </cache>
            <language>
                <logMissingTranslations>1</logMissingTranslations>
                <adapter>Icygen_Translate_Adapter_Db</adapter>
            </language>
            <emailTransport>
                <type>smtp</type>
                <transport>smtp</transport>
                <server>mail.icygen.com</server>
                <username>test@icygen.com</username>
                <password>kapikrusha</password>
                <defaultMailOptions>
                    <contentType>text/html</contentType>
                    <lineLength value="300" />
                    <lineBreakChars>\n</lineBreakChars>
                    <scheme>Q</scheme>
                    <defaultFrom>developer@icygen.com</defaultFrom>
                    <defaultFromName>WTS Mara (development)</defaultFromName>
                </defaultMailOptions>
            </emailTransport>
        </resources>
    </development>
</config>